package com.lhn.spring5.entity;

/**
 * 账户类
 *
 * @author lhn
 * @date 2022/01/06 14:19
 * @since 1.0.0
 **/
public class Account {

    /**  id */
    private Integer id;
    /**
     * 姓名
     */
    private String username;

    /**
     * 金额
     */
    private Integer money;

    public Account() {
    }

    public Account(Integer id, String username, Integer money) {
        this.id = id;
        this.username = username;
        this.money = money;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }
}